<%@ page language="java" import="java.util.*" pageEncoding="UTF-8"%>
<%
String path = request.getContextPath();
String basePath = request.getScheme()+"://"+request.getServerName()+":"+request.getServerPort()+path+"/";
%>

<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
<html>
  <head>
    <base href="<%=basePath%>">
    
    
    
	<meta http-equiv="pragma" content="no-cache">
	<meta http-equiv="cache-control" content="no-cache">
	<meta http-equiv="expires" content="0">    
	<meta http-equiv="keywords" content="keyword1,keyword2,keyword3">
	<meta http-equiv="description" content="This is my page">
	<!--
	<link rel="stylesheet" type="text/css" href="styles.css">
	-->

	<meta charset="UTF-8">
	<meta http-equiv="X-UA-Compatible" content="IE=edge">  <!-- 以上代码告诉IE浏览器，IE8/9及以后的版本都会以最高版本IE来渲染页面。 -->  
	<meta name="viewport" content="width=device-width, initial-scale=1">
	<title>南理计算机实验室预约系统</title>
	<link rel="stylesheet" href="http://localhost:8080/OpenExperimentManagementSystem/css/normalize.css">
	<link rel="stylesheet" href="http://localhost:8080/OpenExperimentManagementSystem/css/common.css">
	<link rel="stylesheet" href="http://localhost:8080/OpenExperimentManagementSystem/css/main.css">

  </head>
  <%
  String mid=(String)request.getAttribute("mid");
  String mname=(String)request.getAttribute("mname");
   %>
  <body style="background:url(images/back6.jpg);background-size:100% 100% ; background-attachment: fixed"
  style="padding:20px;">
	<header>
		<div class="logo">
		<a href="http://cs.njust.edu.cn/">
			<img src="http://localhost:8080/OpenExperimentManagementSystem/images/cslogo.png" style="width: 80px;height: 80px;margin-left: 250px;margin-top: 20px;" >
		</a>
			<h1 class="vertical-center">开放性实验辅助管理系统</h1>
		</div>
		<div class="logoff">
			<a href="#"><span><em class="username"><%=mname%></em>（<em class="usernum"><%=mid %></em>）</span></a>
			<a href="servlet/CheckRoomServlet?op=quit" id="logout"><img src="http://localhost:8080/OpenExperimentManagementSystem/images/out.png" alt="注销登录"></a>
		</div>
	</header><!-- header结束 -->
	<div class="container">
		<section class="person-info box">
			<img src="http://localhost:8080/OpenExperimentManagementSystem/images/my.png" alt="用户图片" class="horizontal-center">
			<div class="horizontal-center">
				<span>姓名：<em class="username"><%=mname %></em></span>
				<span>工号：<em class="usernum"><%=mid %></em></span>
			</div>
		</section>
		
		<section class="seat-select box">
			<span class="horizontal-center">实验平台交流</span>
			<a href="servlet/CheckMessageServlet?mid=<%=mid%>&mname=<%=mname%>"></a>
		</section>
		
		<section class="seat-operate">
			<div class="register box" style="height: 325px;margin-bottom: 30px;">
				<span class="vertical-center">实验管理</span>
				<a href="servlet/CheckExpServlet?mid=<%=mid%>&mname=<%=mname%>"></a>
			</div>
		</section>
		
		<section >
		</section>
		<section class="reserve-record box">
			<span class="vertical-center">机房管理 </span>
			<a href="servlet/CheckExpServlet?op=ret&mid=<%=mid%>&mname=<%=mname%>"></a>
		</section>
		<section class="notice-board box">
			<span class="vertical-center">课表管理</span>
			<a href="servlet/CheckTimetableServlet?mid=<%=mid%>&mname=<%=mname%>"></a>
		</section>
		
	</div>
	
</body>
</html>
